package com.kcsoft.pojo;

import javax.persistence.Lob;
import java.time.LocalDateTime;

public class Command {

    private Integer id;

    @Lob
    private String command;

    private Integer total;

    private LocalDateTime createTime;

    public Command() {
    }

    public Command(Integer id, String command, Integer total, LocalDateTime createTime) {
        this.id = id;
        this.command = command;
        this.total = total;
        this.createTime = createTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCommand() {
        return command;
    }

    public void setCommand(String command) {
        this.command = command;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
}
